package com.p2p.terminal.service.impl;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.p2p.common.utils.ResMessage;
import com.p2p.terminal.dao.IpDao;
import com.p2p.terminal.po.P2pIp;
import com.p2p.terminal.service.IpService;
import com.p2p.terminal.vo.IpCondition;

@Service
public class IpServiceImpl implements IpService {
	@Autowired
	private IpDao ipDao;

	@Override
	public ResMessage<P2pIp> selectIpData(IpCondition condition) {
		// TODO Auto-generated method stub
		return ipDao.selectIpData(condition);
	}

	@Override
	public List<P2pIp> exportIpData(HttpServletRequest request) {
		// TODO Auto-generated method stub
		return ipDao.exportIpData(request);
	}

	

}
